﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace WordDowngrade
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            /*CategoryDict dict = new CategoryDict();
            dict.addLabelToCat("haha", "json");
            dict.addLabelToCat("haha", "ami");
            dict.addLabelToCat("haha", "ami");
            dict.addLabelToCat("haha", "beard");
            dict.addLabelToCat("ding dong", "rdz");
            CategoryDict dict;
            ConfigFile f = new ConfigFile("c:\\stam.txt");
            dict=f.getFromFile();
            String[] dictT = dict.Categories;
            String [] s= dict.getLables("haha");
            /*CategoryDict dictAns = new CategoryDict();
            Downgrader.searcher(dict, dictAns, "d:\\asf.docx");
            String[] cats = dictAns.Categories;
            foreach (String category in cats)
            {
                Console.Out.WriteLine("Category Name: " + category); 
                String []labs = dictAns.getLables(category);
                foreach (String d in labs)
                {
                    Console.Out.WriteLine(d);
                }
                Console.Out.WriteLine("----------------");

            }


            */
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new DocumentsSorter());
        }
    }
}
